package com.hfy.feign;

import com.hfy.model.Bo.AlbumBo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @ author 韩
 * time: 2024/12/28 3:51
 */


@FeignClient(name = "music-service-music")
@RequestMapping("/feign/music")
public interface IMusicClient {

    // 给我一个列表，查询对应信息
    @GetMapping("/page/album")
    List<AlbumBo> pageAlbumByIdList(@RequestParam List<Integer> idList);
}
